﻿function $Showhtml()
{
	if(!isNaN(Player.Url))
	{
		player='<embed src="http://www.tudou.com/v/'+Player.Url+'/dW5pb25faWQ9MTAyMTk1XzEwMDAwMV8wMV8wMQ/&videoClickNavigate=false&withRecommendList=false&withFirstFrame=false&autoPlay=true/v.swf" type="application/x-shockwave-flash" allowscriptaccess="always" allownetworking="internal" allowfullscreen="true" wmode="opaque" width="100%" height="'+Player.Height+'"></embed>';
	}
	else if(Player.Url.indexOf("youku.com")>0)
	{
		Player.Url=Player.Url.split('/')[5];
		player='<embed id="cont" type="application/x-shockwave-flash" src="http://static.youku.com/v1.0.0242/v/swf/qplayer.swf" wmode="transparent" id="movie_player" name="movie_player" bgcolor="#000000" quality="high" allowfullscreen="true" flashvars="isShowRelatedVideo=false&showAd=0&show_pre=1&show_next=1&VideoIDS='+Player.Url+'&isAutoPlay=true&isDebug=false&UserID=&winType=interior&playMovie=true&MMControl=false&MMout=false&RecordCode=1001,1002,1003,1004,1005,1006,2001,3001,3002,3003,3004,3005,3007,3008,9999" pluginspage="http://www.macromedia.com/go/getflashplayer" width="100%" height="'+Player.Height+'"></embed>';		
	}
<!------>	
	else if(Player.Url.indexOf("ku6.com")>0)
	{
	
		player='<embed id="playerswf" src="'+Player.Url+'" width="100%" height="'+Player.Height+'" type=application/x-shockwave-flash allowFullScreen="true" wmode="transparent" allownetworking="internal" allowscriptaccess="never" wmode="opaque"></embed>';		
	}
<!------>

<!------>	
	else if(Player.Url.indexOf("tudou.com")>0)
	{
	
		player='<embed src="http://www.tudou.com/v/'+Player.Url+'/dW5pb25faWQ9MTAyMTk1XzEwMDAwMV8wMV8wMQ/&autoPlay=true&videoClickNavigate=false/v.swf" type="application/x-shockwave-flash" allowscriptaccess="always" allownetworking="internal" allowfullscreen="true" wmode="opaque" width="100%" height="'+Player.Height+'"></embed>';		
	}
<!------>

		else if(Player.Url.indexOf("pptv.com")>0)
	{
	
		player='<embed id="playerswf" src="'+Player.Url+'" width="100%" height="'+Player.Height+'" type=application/x-shockwave-flash allowFullScreen="true" wmode="transparent" allownetworking="internal" allowscriptaccess="never" wmode="opaque"></embed>';		
	}
<!------>	
	else if(Player.Url.indexOf("pps.tv")>0)
	{
	
		player='<embed id="playerswf" src="'+Player.Url+'" width="100%" height="'+Player.Height+'" type=application/x-shockwave-flash allowFullScreen="true" wmode="transparent" allownetworking="internal" allowscriptaccess="never" wmode="opaque"></embed>';		
	}
<!------>
else if(Player.Url.indexOf("sina.com.cn")>0)
	{
	
		player='<embed id="playerswf" src="'+Player.Url+'" width="100%" height="'+Player.Height+'" type=application/x-shockwave-flash allowFullScreen="true" wmode="transparent" allownetworking="internal" allowscriptaccess="never" wmode="opaque"></embed>';		
	}
<!------>
else if(Player.Url.indexOf("sohu.com")>0)
	{
	
		player='<embed id="playerswf" src="'+Player.Url+'" width="100%" height="'+Player.Height+'" type=application/x-shockwave-flash allowFullScreen="true" wmode="transparent" allownetworking="internal" allowscriptaccess="never" wmode="opaque"></embed>';		
	}
<!------>
else if(Player.Url.indexOf("56.com")>0)
	{
		
	player='<embed id="playerswf" src="'+Player.Url+'" width="100%" height="'+Player.Height+'" type=application/x-shockwave-flash allowFullScreen="true" wmode="transparent" allownetworking="internal" allowscriptaccess="never" wmode="opaque"></embed>';
	}
<!------>
	else if(Player.Url.indexOf("letv.com")>0)
	{
		player='<embed id="playerswf" src="'+Player.Url+'" width="100%" height="'+Player.Height+'" type=application/x-shockwave-flash allowFullScreen="true" wmode="transparent" allownetworking="internal" allowscriptaccess="never" wmode="opaque"></embed>';		
	}	
	<!------>
else if(Player.Url.indexOf("qq.com")>0)
	{
		
	player='<embed src="'+Player.Url+'" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" quality="High" width="100%" height="'+Player.Height+'"></object>';
	}
<!------>
	
	else
	{
		player = '<embed type="application/x-shockwave-flash" src="http://static.youku.com/v1.0.0242/v/swf/qplayer.swf" id="movie_player" name="movie_player" bgcolor="#FFFFFF" quality="high" allowfullscreen="true" flashvars="isShowRelatedVideo=false&showAd=0&show_pre=1&show_next=1&VideoIDS='+Player.Url+'&isAutoPlay=true&isDebug=false&UserID=&winType=interior&playMovie=true&MMControl=false&MMout=false&RecordCode=1001,1002,1003,1004,1005,1006,2001,3001,3002,3003,3004,3005,3007,3008,9999" pluginspage="http://www.macromedia.com/go/getflashplayer" width="100%" height="'+Player.Height+'">';
	}
	return player;
}
Player.Show();
if(Player.Second){
	$$('buffer').style.height = Player.Height-28;
	$$("buffer").style.display = "block";
	setTimeout("Player.BufferHide();",Player.Second*1000);
}